* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  // background: url(./bg.jpeg) center center/cover;
  overflow: hidden;
}
$cols: 9;
$size: 100vw / $cols;
.container {
  width: 100%;
  height: 100%;
  .line {
    display: flex;
    justify-content: space-between;
    .item {
      width: $size;
      aspect-ratio: 1;
      flex-shrink: 0;
      background: rgba(0, 0, 0, 0.4);
      // hex
      clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
      cursor: pointer;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.5;
        transition: 0.5s;
      }
      transition: 0.5s;
    }
    margin-top: -$size / 6;
    &:nth-child(even) {
      transform: translateX(-$size / 2);
    }
  }
}
